package com.hd.pzhwlxt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hd.pzhwlxt.pojo.Material;

import java.util.List;

/**
 * @create: 2022-09-21 9:01
 * @author: 怀念天空
 * @Description:
 */

public interface MaterialService extends IService<Material> {


    List<Material> getAllMaterialInfo();

    Page<Material> getAllMateriaAndPricePage(Integer pageNum,Integer pageSize);

    boolean deleteByIds(List<Integer> asList);

    boolean updatematerial(Material material);

    Material getMaterialById(Integer id);

    boolean addMaterial(Material material);
}
